<template>
  <div>
    <Header v-if="isShow" />
    <button @click="isShow = true">展示Header</button>
  </div>
</template>

<script>
import Header from "./components/Header";
export default {
  name: "App",
  components: {
    Header,
  },
  data() {
    return {
      isShow: false,
    };
  },
};
</script>

<style>
</style>